package com.xuecheng;

import com.spring4all.swagger.EnableSwagger2Doc;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Mr.M
 * @version 1.0
 * @description 内容管理服务启动类
 */
@EnableSwagger2Doc
@SpringBootApplication
@Slf4j
@MapperScan("com.xuecheng.content.mapper")
@EnableFeignClients(basePackages={"com.xuecheng.content.feignclient"})
public class ContentApplication {
    public static void main(String[] args) {
        log.info("项目启动！！！");
        SpringApplication.run(ContentApplication.class, args);
        log.info("=====项目启动成功=====");
    }
}
